﻿using System.Collections.Generic;
using EDMDesigner.Business.CSDL.Property.Scalar;
using EDMDesigner.Business.MSL.EntityType;

namespace EDMDesigner.Business.MSL
{
    public interface IMapping
    {
        IEnumerable<PropertyMapping> GetSpecificMappingForTable(Business.SSDL.EntityType.EntityType table);
        void AddMapping(ScalarProperty property, EDMDesigner.Business.SSDL.Property.Property column);
        void ChangeMapping(ScalarProperty property, EDMDesigner.Business.SSDL.Property.Property column);
        void RemoveMapping(ScalarProperty property, EDMDesigner.Business.SSDL.EntityType.EntityType table);
    }
}
